package com.usefullc.system.service.file.impl;

import com.usefullc.system.service.AbstractService;
import com.usefullc.system.service.file.FileResService;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletResponse;

/**
 * 远程文件服务器服务实现类
 * @author: Sampson
 * @date: 2022-04-26 10:27
 */
@Service("rfsFileUploadService")
public class RfsFileResServiceImpl extends AbstractService implements FileResService {

    @Value("${usefullc.uploadPath}")
    private String uploadPath;

    @Override
    public String upload(byte [] bytes, String originalFilename, String type) {
        //todo
        return originalFilename;
    }

    @Override
    public void download(String filePath, HttpServletResponse response) {

    }
}
